package com.example.warehouse.bus.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 修改进货数据的客户端参数类
 *
 * @author XXH
 */
@Data
public class BusInportUpdateParam implements Serializable {

    @NotNull(message = "请输入ID")
    @ApiModelProperty(example = "1", required = true)
    private Integer id;                       //进货数据的id

    @ApiModelProperty(value = "支付类型", example = "支付宝")
    private String payType;                   // 支付类型

    @ApiModelProperty(value = "操作员", example = "pipibee")
    private String operatePerson;             // 操作员

    @ApiModelProperty(value = "进货数量", example = "200")
    private Integer number;                   // 进货数量

    @ApiModelProperty(value = "备注", example = "测试备注1")
    private String description;               // 备注

    @ApiModelProperty(value = "进货价格", example = "114.514")
    private Double inportPrice;               // 进货价格

    @ApiModelProperty(value = "供应商ID", example = "11")
    private Integer providerId;               // 供应商ID

    @ApiModelProperty(value = "商品ID", example = "111")
    private Integer goodsId;                  // 商品ID

    @ApiModelProperty(value = "审批状态", example = "0")
    private Integer approvalStatus;            // 审批状态
}
